import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'



//小额借记来账回执审核查询
export const bepsDebitReceiptAuditApproveQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/search`,
}

// 小额借记来账回执审核详情
export function bepsDebitReceiptAuditApproveDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/detail`,
    method: 'get',
    params:{id:data.id,msgType:data.msgType,oriId:data.oriId}
  })
}

//小额借记来账回执审核查询
export const bepsDebitReceiptAuditApproveB307Query = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/searchB307`,
}

//小额借记来账回执审核查询
export const bepsDebitReceiptAuditApproveB104Query = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/searchB104`,
}


//小额借记来账回执审核查询
export const bepsDebitReceiptAuditApproveB309Query = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/searchB309`,
}

//小额借记来账回执审核 小额定期借记业务 -同意
export function bepsDebitReceiptAuditApproveApprove5013(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/approve5013`,
    method: 'post',
    data:data
  })
}

//小额借记来账回执审核 小额定期借记业务 -拒绝
export function bepsDebitReceiptAuditApproveReject5013(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/reject5013`,
    method: 'post',
    data:data
  })
}

//小额借记来账回执审核查询 小额普通借记业务 -同意
export function bepsDebitReceiptAuditApproveApprove5014(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/approve5014`,
    method: 'post',
    data:data
  })
}

//小额借记来账回执审核查询 小额普通借记业务 -同意
export function bepsDebitReceiptAuditApproveReject5014(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHandWorkApprove/BepsDebitReceiptAuditApprove/reject5014`,
    method: 'post',
    data:data
  })
}


